Monday, July 14, 2008

Using Amazon S3 as storage for a web site

I used "s3cmd" under ubuntu to create a new bucket, then upload a jpeg to it:

Configure s3cmd to use your Amazon S3 account:
s3cmd --configure
Make a new bucket:<bucket>
s3cmd mb s3://
Upload a jpeg to the bucket:
s3cmd -P --mime-type=image/jpeg put picture.jpg s3://<bucket>
The URL for the file:
http://<bucket>.s3.amazonaws.com/picture.jpg

No comments:

Oracle Linux virt-manager Error launching create dialog: list index out of range

After a fresh install of Oracle Linux 9.1 and installing virt-manager/virt-install, I tried to create a new virtual machine and got this err...